package com.home.common.constants.redis;

/**
 * Description: Redis 分库常量类
 * Created by 王大宸 on 2020-10-06 23:54
 * Created with IntelliJ IDEA.
 */
public class RedisDateBase {

    public static final String spilt = ":";

    /**
     * Redis库8 default
     */
    public static final Integer DEFAULT_DATE_BASE = 8;

    /**
     * 节点统一后缀
     */
    public static final String CHILDREN_SUFFIX = "_children";

    /**
     * 部门后缀
     */
    public static final String REDIS_DEPART_PREFIX = "_depart";


    /**
     * 数据字典存储 KEY
     */
    public final static String DICT_DATA_REDIS_KEY = "DICT:DATA:";

    /**
     * 验证码 Key
     */
    public final static String VERIFICATION_CODE = "VERIFICATION:CODE:";

    /**
     * 按钮操作权限 Key
     */
    public final static String MENU_PERMS_KEY = "MENU:PERMS:";

    /**
     * 发送短信验证码 或 验证短信验证码时，传递手机号的参数的名称
     */
    public static final String DEFAULT_PARAMETER_NAME_MOBILE = "mobile";

    /**
     * 五分钟有效期(秒)
     */
    public final static int FIVE_MINUTES = 300;


}
